package com.cloud.tsp.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cloud.api.domain.user.QueryAdminUser;
import com.cloud.api.domain.user.UserExtend;
import com.cloud.api.domain.user.UserResponse;
import com.cloud.api.domain.user.UserRole;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 管理端登陆用户扩展表 Mapper 接口
 * </p>
 *
 * @author haohaibo
 * @since 2024-08-21
 */
public interface UserExtendMapper extends BaseMapper<UserExtend> {

    Page<UserResponse> selectUserList(Page<?> page, @Param("c") QueryAdminUser para);
    UserResponse selectLoginUserInfo(@Param("uid") String uid);
    List<UserRole> selectUserRole();
}